package com.yugao.fintech.antelope.codegen.assembly;

import com.yugao.fintech.antelope.codegen.core.GeneratorConfig;
import com.yugao.fintech.antelope.codegen.model.entity.DatasourceConfig;
import com.yugao.fintech.antelope.codegen.model.rqrs.DatasourceRS;
import org.mapstruct.Mapper;
@Mapper(componentModel = "spring")
public interface DatasourceConfigAssembly {
    DatasourceRS toDatasourceRS(DatasourceConfig datasourceConfig);
    GeneratorConfig toGeneratorConfig(DatasourceConfig datasourceConfig);
}
